#ifndef CJSONARRAY_H
#define CJSONARRAY_H

#include "cjsonvalue.h"

#include <vector>

class CJsonArray : public CJsonValue
{
private:
    std::vector <CJsonValue*> members;
public:
	LIB_PRE CJsonArray();
	LIB_PRE ~CJsonArray();
	LIB_PRE jstring ToString();
	LIB_PRE void AddMember(CJsonValue *member);
    LIB_PRE bool Empty() const;
	LIB_PRE std::size_t Size() const;
	LIB_PRE CJsonValue * operator [] (int index) const;
};

#endif // CJSONARRAY_H


